package com.raven.play.datalink.common.type;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Set;

@Getter
@Setter
@ToString
public class EnumField extends SimpleField {

    private Set<String> symbols;

    public EnumField(String name, Set<String> symbols) {
        super(name, TypeEnum.ENUM);
        this.symbols = symbols;
    }
}